package query

import "ssdevice/common/dto"

type SysTaskDeviceQuery struct {
	dto.Pagination `search:"-"`
	dto.OrderBy    `search:"-"`
	dto.UserInfo
	Id       string `form:"id" json:"id" search:"type:exact;column:id;table:sys_task_device"`
	DevSn    string `form:"devSn"  search:"type:contains;column:dev_sn;table:sys_task_device"`
	TaskId   string `form:"taskId"  search:"type:exact;column:task_id;table:sys_task_device"`
	Sid      int64  `form:"sid"  search:"type:exact;column:sid;table:sys_task_device"`
	Status   string `form:"status"  search:"type:contains;column:status;table:sys_task_device"`
	Progress string `form:"progress"  search:"type:contains;column:progress;table:sys_task_device"`
}

func (m *SysTaskDeviceQuery) GetNeedSearch() interface{} {
	return *m
}
